package io.finer.erp.jeecg.bas.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 供应商不良品记录
 * @Author: jeecg-boot
 * @Date:   2020-10-10
 * @Version: V1.0
 */
@Data
@TableName("zrk_question")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="zrk_question对象", description="供应商不良品记录")
public class ZrkQuestion implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**不良品数量*/
	@Excel(name = "不良品数量", width = 15)
    @ApiModelProperty(value = "不良品数量")
    private java.lang.Integer zrkCount;
	/**物料名称*/
	@Excel(name = "物料名称", width = 15, dictTable = "bas_material", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_material", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "物料名称")
    private java.lang.String materialName;
	/**供应商名称*/
	@Excel(name = "供应商名称", width = 15, dictTable = "bas_supplier", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_supplier", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "供应商名称")
    private java.lang.String supplierName;
	/**质量检测报告*/
	@Excel(name = "质量检测报告", width = 15)
    @ApiModelProperty(value = "质量检测报告")
    private java.lang.String qtyRemark;
	/**重量检测报告*/
	@Excel(name = "重量检测报告", width = 15)
    @ApiModelProperty(value = "重量检测报告")
    private java.lang.String tonRemark;
	/**外观检测报告*/
	@Excel(name = "外观检测报告", width = 15)
    @ApiModelProperty(value = "外观检测报告")
    private java.lang.String appearenceRemark;
	/**条码*/
	@Excel(name = "条码", width = 15)
    @ApiModelProperty(value = "条码")
    private java.lang.String materialCode;
	/**审核状态*/
	@Excel(name = "审核状态", width = 15, dicCode = "checkStatus")
	@Dict(dicCode = "checkStatus")
    @ApiModelProperty(value = "审核状态")
    private java.lang.String isCheck;
	/**审核人*/
	@Excel(name = "审核人", width = 15, dictTable = "sys_user", dicText = "username", dicCode = "id")
	@Dict(dictTable = "sys_user", dicText = "username", dicCode = "id")
    @ApiModelProperty(value = "审核人")
    private java.lang.String checkUser;
	/**是否锁定*/
	@Excel(name = "是否锁定", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否锁定")
    private java.lang.Integer isLock;
	/**处理方式*/
	@Excel(name = "处理方式", width = 15, dicCode = "handlerStatus")
	@Dict(dicCode = "handlerStatus")
    @ApiModelProperty(value = "处理方式")
    private java.lang.String handlerStatus;
	/**对接业务员*/
	@Excel(name = "对接业务员", width = 15, dictTable = "sys_user", dicText = "username", dicCode = "id")
	@Dict(dictTable = "sys_user", dicText = "username", dicCode = "id")
    @ApiModelProperty(value = "对接业务员")
    private java.lang.String ywUser;
}
